package com.smartstate.IOC.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 碳综合贡献
 */
@Data
@TableName("carbon_contribution")
public class CarbonContribution implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id", fill = FieldFill.INSERT)
    private int id;

    /**
     * 日期
     */
    @TableField(value = "dateContribution")
    private String dateContribution;

    /**
     * 植被
     */
    @TableField(value = "vegetation")
    private Integer vegetation;

    /**
     * 园区净化设备
     */
    @TableField(value = "parkPurificationDevice")
    private Integer parkPurificationDevice;

    /**
     * 第三方工程
     */
    @TableField(value = "tripartiteEngineering")
    private Integer tripartiteEngineering;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;


    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @TableField(value = "createUser", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @TableField(value = "updateUser", fill = FieldFill.UPDATE)
    private String updateUser;
}
